<?xml version="1.0" encoding="UTF-8"?>

<resources>

	<module>
		<id>mod:edu.gtcfla:km.mng</id>
		<group-id>edu.gtcfla</group-id>
  		<name-id>km.mng</name-id>
  		<i18n code="edu.gtcfla.km.mng">经验积累</i18n>
		<bootup>true</bootup>
		<enabled-status>true</enabled-status>

  		<version value="1.0">
			<release-date>2012-11-24</release-date>
			<developer>vison ruan</developer>
  		</version>

  		

  		<url-map>
			<!-- category -->
			<asso-class id="url:edu.gtcfla:km.mng:category.tree"  value="/knowledge/category/tree.json" acl="access" >
				edu.gtcfla.km.appmodules.web.CategoryController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:category.add"  value="/knowledge/category/submit_addcate.json" acl="access" >
				edu.gtcfla.km.appmodules.web.CategoryController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:categories.del"  value="/knowledge/category/submit_deletecategories.json" acl="access" >
				edu.gtcfla.km.appmodules.web.CategoryController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:categories.updateall"  value="/knowledge/category/update_all.json" acl="access" >
				edu.gtcfla.km.appmodules.web.CategoryController
			</asso-class>

			<asso-class id="url:edu.gtcfla:km.mng:file.bigview"  value="/knowledge/content/bigview.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UploadFileController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:file.upload"  value="/knowledge/content/submit_uploadfile.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UploadFileController
			</asso-class>
			
			<!-- 经验积累管事  -->
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.page"  value="/knowledge/content/colligation/paging_all.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.add"  value="/knowledge/content/colligation/submit_adding.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.load"  value="/knowledge/content/colligation/load_colligation.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.update"  value="/knowledge/content/colligation/submit_updating.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.deleteall"  value="/knowledge/content/colligation/bindAttachment.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.colligation.bindattachment"  value="/knowledge/content/colligation/bindAttachment.json.json" acl="access" >
				edu.gtcfla.km.appmodules.web.ColligationController
			</asso-class>
			
			<!-- 用户组定义 -->
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.page"  value="/knowledge/usergroup/page_usergroup.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.add"  value="/knowledge/usergroup/submit_adding.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.load"  value="/knowledge/usergroup/load.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.update"  value="/knowledge/usergroup/submit_updating.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.deleteall"  value="/knowledge/usergroup/submit_deleteall.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
			<asso-class id="url:edu.gtcfla:km.mng:knowledge.usergroup.userassign.load"  value="/knowledge/usergroup/load_userassign.json" acl="access" >
				edu.gtcfla.km.appmodules.web.UserGroupController
			</asso-class>
  		</url-map>
  		
		<menus>
			<!-- module menu -->
			<menu id="mnu:edu.gtcfla:km.mng:home" modulemenu="true">
				<i18n code="register.menu-km.mng.index">经验和信息累积</i18n>
			</menu>

			<menu id="mnu:edu.gtcfla:km.mng:attachmentview" parentid="mnu:edu.gtcfla:km.mng:home" >
				<i18n code="register.module-km.menu.attachmentview">附件管理</i18n>
				<ref-key refid="ctl:edu.gtcfla:km.mng:attachmentview" type="controller" />
			</menu>
			
			<menu id="mnu:edu.gtcfla:km.mng:colligationview" parentid="mnu:edu.gtcfla:km.mng:home" >
				<i18n code="register.module-km.menu.colligationview">经验积累管理</i18n>
				<ref-key refid="ctl:edu.gtcfla:km.mng:colligationview" type="controller" />
			</menu>


			<menu id="mnu:edu.gtcfla:km.mng:category" parentid="mnu:edu.gtcfla:km.mng:home" >
				<i18n code="register.module-km.menu.category">经验积累目录</i18n>
				<ref-key refid="ctl:edu.gtcfla:km.mng:category" type="controller" />
			</menu>


			<menu id="mnu:edu.gtcfla:km.mng:usergroup" parentid="mnu:edu.gtcfla:km.mng:home" >
				<i18n code="register.module-km.menu.usergroup">用户组管理</i18n>
				<ref-key refid="ctl:edu.gtcfla:km.mng:usergroup" type="controller" />
			</menu>

		</menus>
		
  		<controllers>
  			<controller id="ctl:edu.gtcfla:km.mng:category" value="knowledge.category.Startup"/>
  			<controller id="ctl:edu.gtcfla:km.mng:attachmentview" value="knowledge.Startup"/>
  			<controller id="ctl:edu.gtcfla:km.mng:colligationview" value="knowledge.ColligationStartup"/>
  			<controller id="ctl:edu.gtcfla:km.mng:usergroup" value="knowledge.usergroup.Startup"/>
  		</controllers>		
		
		<!--  定义模块的对外接口 -->
		<functions>
			<!-- 模块主 -->
			<function id="fun:edu.gtcfla:km.mng:category" desc="经验累积目录">
				<binding-ref refid= "mnu:edu.gtcfla:km.mng:category" type="menu" />
				<binding-ref refid= "mnu:edu.gtcfla:km.mng:usergroup" type="menu" />
				
				<binding-ref refid= "url:edu.gtcfla:km.mng:category.tree" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:category.add" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:categories.del" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:categories.updateall" type="url" />
				
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.usergroup.page" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.usergroup.add" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.usergroup.load" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.usergroup.update" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.usergroup.deleteall" type="url" />
				
				<binding-ref refid= "ctl:edu.gtcfla:km.mng:category" type="ctl" />
				<binding-ref refid= "ctl:edu.gtcfla:km.mng:usergroup" type="ctl" />
				
				<action-ref refid="act:edu.gtcfla:km.mng:category#access" />
				<action-ref refid="act:edu.gtcfla:km.mng:category#deny" />
				
			</function>
			
			<function id="fun:edu.gtcfla:km.mng:knowledge" desc="知识平台应用管理">
				<binding-ref refid= "mnu:edu.gtcfla:km.mng:colligationview" type="menu" />
				<binding-ref refid= "mnu:edu.gtcfla:km.mng:attachmentview" type="menu" />
				
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.page" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.add" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.load" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.update" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.deleteall" type="url" />
				<binding-ref refid= "url:edu.gtcfla:km.mng:knowledge.colligation.bindattachment" type="url" />
				
				<binding-ref refid= "ctl:edu.gtcfla:km.mng:attachmentview" type="ctl" />
				<binding-ref refid= "ctl:edu.gtcfla:km.mng:colligationview" type="ctl" />

				<action-ref refid="act:edu.gtcfla:km.mng:knowledge#access" />
				<action-ref refid="act:edu.gtcfla:km.mng:knowledge#deny" />
			</function>

		</functions>

  		<!-- 支持的功能操作设定 -->
  		<actions>
  			<action id="act:edu.gtcfla:km.mng:category#access" name="允许访问" >
  				<perm-define refid="mnu:edu.gtcfla:km.mng:category" acl="access" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:category.tree" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:category.add" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:categories.del" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:categories.updateall" acl="access" type="url"/>
  				
  				<perm-define refid="mnu:edu.gtcfla:km.mng:usergroup" acl="access" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.page" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.add" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.load" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.update" acl="access" type="url"/>  				
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.deleteall" acl="access" type="url"/> 

  				<perm-define refid="ctl:edu.gtcfla:km.mng:usergroup" acl="access" type="controller"/> 
  				<perm-define refid="ctl:edu.gtcfla:km.mng:category" acl="access" type="controller"/> 
  				   				
  			</action>
  			<action id="act:edu.gtcfla:km.mng:category#deny" name="禁止访问" >
  			
  				<perm-define refid="mnu:edu.gtcfla:km.mng:category" acl="deny" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:category.tree" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:category.add" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:categories.del" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:categories.updateall" acl="deny" type="url"/>
  				
  				<perm-define refid="mnu:edu.gtcfla:km.mng:usergroup" acl="deny" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.page" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.add" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.load" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.update" acl="deny" type="url"/>  				
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.usergroup.deleteall" acl="deny" type="url"/> 

  				<perm-define refid="ctl:edu.gtcfla:km.mng:usergroup" acl="deny" type="controller"/> 
  				<perm-define refid="ctl:edu.gtcfla:km.mng:category" acl="deny" type="controller"/>   			

  			</action>

  			<action id="act:edu.gtcfla:km.mng:knowledge#access" name="允许访问" >
  			
  				<perm-define refid="mnu:edu.gtcfla:km.mng:colligationview" acl="access" type="menu"/>
  				<perm-define refid="mnu:edu.gtcfla:km.mng:attachmentview" acl="access" type="menu"/>
  				
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.page" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.add" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.load" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.update" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.deleteall" acl="access" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.bindattachment" acl="access" type="url"/>


  				<perm-define refid="ctl:edu.gtcfla:km.mng:attachmentview" acl="access" type="ctl"/>
  				<perm-define refid="ctl:edu.gtcfla:km.mng:colligationview" acl="access" type="ctl"/>

  			</action>

  			<action id="act:edu.gtcfla:km.mng:knowledge#deny" name="禁止访问" >
  			
  			
  				<perm-define refid="mnu:edu.gtcfla:km.mng:colligationview" acl="deny" type="menu"/>
  				<perm-define refid="mnu:edu.gtcfla:km.mng:attachmentview" acl="deny" type="menu"/>
  				
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.page" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.add" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.load" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.update" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.deleteall" acl="deny" type="url"/>
  				<perm-define refid="url:edu.gtcfla:km.mng:knowledge.colligation.bindattachment" acl="deny" type="url"/>


  				<perm-define refid="ctl:edu.gtcfla:km.mng:attachmentview" acl="deny" type="ctl"/>
  				<perm-define refid="ctl:edu.gtcfla:km.mng:colligationview" acl="deny" type="ctl"/>  			

  			</action>

  		</actions>


  		<!-- 指定默认连接页面，或事件的菜单 ，该项为 option -->
  		<defalt-event refid="ctl:edu.gtcfla:km.mng:colligationview" type="ctl"/>


		<!-- 初始权限数据 -->
		<permissions>
			<permission refid="mnu:edu.gtcfla:km.mng:home" rolecode="superadmin" acl="access"/>
			
			<permission 
				refid="fun:edu.gtcfla:km.mng:category" 
				rolecode="superadmin"
				actid="act:edu.gtcfla:km.mng:category#access"
				/>
				
			<permission 
				refid="fun:edu.gtcfla:km.mng:knowledge" 
				rolecode="superadmin"
				actid="act:edu.gtcfla:km.mng:knowledge#access"
				/>
								
		</permissions>


	</module>
	
</resources>
